package cn.toolck.user.service;

import javax.servlet.http.HttpServletResponse;

public interface UserService {
    int register(String email, String password, String code);

    boolean isRegistered(String email);

    boolean login(String email, String password, HttpServletResponse response);

    String info(String token);
}
